﻿using project.B12.IRepository.Base;
using project.B12.Model.Enums;
using project.B12.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace project.B12.IRepository
{
    public interface IBacteriaRepository : IBaseRepository<Table_bacteria>
    {
        public List<Table_bacteria> QueryAllBacteria();

        public List<Table_bacteria> QueryByCNName(string pname);

        public bool UpdateBacteria(Table_bacteria bacteria);

        public void AddBacterias(Table_bacteria bacterias);

        public string QueryNamesByID(int id,BacteriaLevel level);

        public List<string> QueryByLevel(BacteriaLevel level);

        public int QueryIdByLevelName(BacteriaLevel level,string levelName);


        public Table_bacteria QueryById(int id);
    }
}
